package com.xiaoshuidi.cloud.module.report.convert.finance;

import com.xiaoshuidi.cloud.module.report.controller.finance.vo.DepositOwnerExportRespVO;
import com.xiaoshuidi.cloud.module.report.controller.finance.vo.DepositOwnerRespVO;
import com.xiaoshuidi.cloud.module.report.dal.DO.report.ReportOwnerDepositDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 业主押金 转换类
 */
@Mapper
public interface DepositOwnerConvert {

    DepositOwnerConvert INSTANCE = Mappers.getMapper(DepositOwnerConvert.class);


    DepositOwnerRespVO convert(ReportOwnerDepositDO ownerDepositDO);

    List<DepositOwnerRespVO> convertDOList2VOList(List<ReportOwnerDepositDO> advanceDOList);

    List<DepositOwnerExportRespVO> convertDOListForExport(List<ReportOwnerDepositDO> advanceDOList);




}
